//
//  ViewPointController.h
//  ViewPoint
//
//  Created by Demiao Lin on 10/18/08.
//  Copyright 2008 Tsinghua. All rights reserved.
//

#import <UIKit/UIKit.h>

#define kTitleTag		1
#define kAuthorTag		2
#define kDateTag		3

@class BoardsViewController, ConfigViewController;

@class ThreadViewController;
@class PostViewController;
@class Board;

@interface ViewPointController : UIViewController <UITableViewDelegate, UITableViewDataSource>{
	UIView *contentView;
	//UITextView *textView;
	UITableView *tableView;
	
	NSMutableArray *posts;
	
	BoardsViewController *boardsViewController;
	ConfigViewController *configViewController;
	PostViewController *postViewController;
    ThreadViewController *threadViewController;
}

@property(nonatomic,retain) BoardsViewController *boardsViewController;
@property(nonatomic,retain) ConfigViewController *configViewController;
@property(nonatomic,retain) PostViewController *postViewController;
@property(nonatomic, retain) ThreadViewController *threadViewController;

@property(nonatomic,retain) UITableView *tableView;

@property(nonatomic,retain) NSMutableArray *posts;

-(void) loadTableView;
-(void) loadTableViewData:(id)object;

- (void) setViewsRotation;

@end
